package com.ysyx.ysyx_passengerinfo.service;

import com.ysyx.ysyx_passengerinfo.dto.BaseDto;
import com.ysyx.ysyx_passengerinfo.pojo.PassengerPojo;
import com.ysyx.ysyx_passengerinfo.qo.PassengerQo;
import org.springframework.stereotype.Service;

/**
* @author 薛宇晖
* @description 针对表【passenger_inf(乘客信息表)】的数据库操作Service
* @createDate 2023-04-07 14:19:08
*/
@Service
public interface PassengerPojoService {

    public BaseDto LoginByAcc(PassengerQo qo);

    public BaseDto LoginByTel(PassengerQo qo);

    public BaseDto LoginByOpenId(PassengerQo qo);

    public BaseDto selectPassengerByPassengerId(Integer passengerId);

    public BaseDto selectAllPassenger();

    public BaseDto selectAllOrder(Integer passengerId);


    public BaseDto passengerReg(PassengerPojo pojo);

    public BaseDto passengerFixPwd(PassengerPojo pojo);
}
